package com.smartalarmclock.Model;

import com.smartalarmclock.Model.Exceptions.PhoneContactDoesNotExistException;

import android.content.Context;

public interface IContact extends IDataEntity, IReferencedDataEntity {
	
	/**
	 * @return the contact's name
	 * @throws PhoneContactDoesNotExistException if the contact does not exist in the phone contacts
	 */
	public String GetName(Context context) throws PhoneContactDoesNotExistException;
	
	/**
	 * @return whether the contact is a single contact or not.
	 */
	public boolean IsSingleContact();
	
	/**
	 * @return whether the contact is a group or not.
	 */
	public boolean IsGroup();
}
